package cn.stronglink.netrequest.business.base;


import cn.stronglink.netrequest.util.HttpURL;
import cn.stronglink.netrequest.util.HttpUtil;
import okhttp3.Callback;

/**
 * Created by Tgb on 2018/6/13.
 * 基础数据
 */

public class BaseDataService {
    public void getBaseData(Callback callback) throws Exception {
        HttpUtil.httpPost(HttpURL.URL_BASE_DATA, callback);
    }

    public String getBaseData() throws Exception {
        return HttpUtil.httpPostAnync(HttpURL.URL_BASE_DATA);
    }
}
